package com.inxedu.os.edu.service.student;

import com.inxedu.os.edu.pojo.EduUser;
import com.inxedu.os.edu.pojo.EduUserLoginLog;
import com.inxedu.os.edu.pojo.QueryUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface StudentService {
    //获取学员全部信息
    public List<EduUser> findAllByUser();

    //模糊查询  获取学员列表
    public List<EduUser> findByUserMh(@Param("record") QueryUser record);

    //修改用户密码
    public void updateUserPwd(EduUser eduUser);

    //修改用户状态
    public void updateByUserState(EduUser eduUser);

    //根据id查找用户  src/main/webapp/static/admin/user/user.js
    public int findByUserId(int userId);

    //查看用户登陆日志
    public List<EduUserLoginLog> findUserLogPage(int userId);//,PageEntity page

    //批量开通学员
    public String AddImportExcel(HttpServletRequest request, MultipartFile myFile) throws Exception;//, Integer mark

    //查询学员
    public List<EduUser> FindUserAll();

}
